import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.concurrent.ExecutionException;

/**
 * @Author 史祥连
 * @Date 2024/6/7 11:22
 * @Version 1.0
 */
public class ExcelCopy {
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("dataId",1060714728733990913L);
        String customParam = java.net.URLEncoder.encode(jsonObject.toJSONString());
        System.out.println(customParam);


    }

    public static Result getResult(Integer id, String name) {
        Result result = new Result(id,name,id+name);
        return result;
    }


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    static class Result {
        Integer id;
        String name;
        String type;
    }
}
